package org.codefinger.dao.util.jdbc;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public class ShortSetter implements StatementSetter {

	public static final ShortSetter	INSTANCE	= new ShortSetter();

	private ShortSetter() {

	}

	@Override
	public void setParam(PreparedStatement statement, int index, Object param) throws SQLException {
		statement.setShort(index, (Short) param);
	}
}
